HTMLModelElement: loop property

The HTMLModelElement.loop property reflects the loop HTML attribute, which controls whether the model element's animation restarts automatically once it reaches the end.

Value

A boolean value.

Examples

js
const obj = document.createElement("model");
obj.loop = true; // true

Specifications

No specification found

No specification data found for api.HTMLModelElement.loop.
Check for problems with this page or contribute a missing spec_url to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.

Browser compatibility

See also